import request from '../utils/request'

export default {
    getUserInfo(){
        return request({
            url:"/getUserInfo",
            method:'get',
        })
    },
    getUserByName(id){
        return request({
            url:"/getUserByName",
            method:'get',
            params:{
                id:id
            }
        })
    }
}